package com.loser.rpc.search.fallback;

import com.loser.module.base.common.ApiResponse;
import com.loser.rpc.search.dto.req.OptLogReq;
import com.loser.rpc.search.dto.resp.OptLogResp;
import com.loser.rpc.search.rpc.SearchFeign;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class SearchFeignFallBack implements SearchFeign {

    @Override
    public ApiResponse<Boolean> save(OptLogReq req) {
        return ApiResponse.ok(false);
    }

    @Override
    public ApiResponse<List<OptLogResp>> getList(Long userId) {
        return null;
    }

}
